JOYSTICK INFORMATION

This command can be used to retrieve various pieces of information about the current joystick.

  Syntax
Return Integer=JOYSTICK INFORMATION(Integer Value)
  Parameters
Integer Value
Integer
The information index

  Returns

The information requested

  Description

See the example code for the values available from this function.

  Example Code
cls

print " Number of Buttons: ", joystick information(0)
print " Force Feedback Available: ", joystick information(1)
print " Z Axis Available: ", joystick information(2)

print " Twist X Axis Available: ", joystick information(3)
print " Twist Y Axis Available: ", joystick information(4)
print " Twist Z Axis Available: ", joystick information(5)

print " Number of Sliders: ", joystick information(6)
print " Number of Hats: ", joystick information(7)
print " Deadzone Percentage: ", joystick information(8)

wait key
  See also

INPUT Commands Menu
Index